#ifndef SIMULATION_H
#define SIMULATION_H


void *simulation(void *);
void *deplac_avions(void *arg);
t_avion *deplac_avions_aero(t_avion *av);
void *timer(void *arg);
int test_avion_dans_aero(t_avion*av, t_aeroport *ar);
void *affich_donnee_vol(t_avion *av);
int piste_libre(t_avion *av);
int test_avion(t_avion *av);
void deplac_avion_vol(t_avion *av);
void deplac_avion_vol2(t_avion *av);

void nb_avion_phase_par_aero(t_avion *av, t_aeroport *ar);
int distance( int x1, int x2, int y1, int y2);
int parking_libre(t_avion *av);
int acces_aterr_libre(t_avion *av);


//etat d'urgence
t_avion *avion_etat_urgence(t_avion *av);

#endif
